package Spring.demo.Main;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class StudentController1 {

    @Autowired
    private StudentService1 studentService1;

    public void  fun()
    {
        studentService1.func();
    }
}
